package com.itheima.dao;

import com.itheima.pojo.OrderSetting;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface OrderSettingDao {
    long findOrderSettingByDate(Date date);

    List<OrderSetting> findPage(@Param("startDate") String startDate,@Param("endDate") String endDate);

    void upload(OrderSetting orderSetting);

    void add(OrderSetting orderSetting);

    List<OrderSetting> findAllOrderSetting();

    OrderSetting findOrderSettingInfoByDate(Date date);
}
